package com.xmim.server.examples;

import com.xmim.fulcrum.node.FulcrumServiceNode;

public class ZkFulcrumServicePathCache extends ZkFulcrumPathCache<FulcrumServiceNode> {


    public ZkFulcrumServicePathCache(ZKFulcrumDiscover discover) {
        super(discover);
    }

    @Override
    public String getPath() {
        return this.discover.getFactory().getConfig().getServiceNodePath();
    }

    @Override
    public String getSerialPath() {
        return this.discover.getFactory().getConfig().getServiceNodePath()
                + "/" +
                this.discover.getFactory().getConfig().getSeqPrefixPath();
    }
}
